package com.jk1123.igs.api.controller;

import com.jk1123.igs.common.vo.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2022/11/12 07:51
 * @description
 */
@RestController
@Slf4j
@RequestMapping("/seg/incr")
public class SegmentIdIncrementController {
    @Value("${spring.datasource.url}")
    private String data;
    @GetMapping("")
    public R get(String key){
        System.out.println(data);
        return  R.successOf(null);
    }

}
